/*
 * @Author: wangqf
 * @LastEditors: wangqf
 * @email: wangqf19@189.cn
 * @Date: 2021-04-22 23:30:48
 * @LastEditTime: 2021-04-24 00:26:22
 * @Description: 
 * @FilePath: \myDevelopment\nodejs\node_server@wangqf\src\mysql\results.js
 */
/**
 * 请求返回结果统一规范
 */
module.exports = {
    success(data) {
        return {
            status: true,
            msg:'success',
            data: data
        };
    }, 
    error(msg) {
        return {
            status: false,
            msg: msg
        };
    }
}